package com.singulee.carschool.service;

import com.singulee.carschool.mapper.StudentMapper;
import com.singulee.carschool.pojo.Teacher;
import com.singulee.carschool.mapper.TeacherMapper;
import com.singulee.carschool.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;



public interface TeacherService {

    public Teacher selectByPone(Teacher teacher);
    public boolean updatePassword(String phone, String password, Integer role);
    public Map<String, Object> addTeacher(Teacher teacher);
    public Map<String, Object> getTeacherList(Map<String, Object> map);
    public Map<String, Object> getTeacher(Teacher teacher);
    public Map<String, Object> updateTeacher(Teacher teacher);
    public Map<String, Object> getaway(Map map, HttpServletRequest request);


}
